package com.yjzx.util.redisson;

import com.yjzx.util.RedisConst;
import com.yjzx.util.redisson.service.CacheOpsService;
import com.yjzx.util.redisson.service.impl.CacheOpsServiceImpl;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@AutoConfigureAfter(RedisConst.RedissonConfiguration.class)
public class CacheConfiguration {
    @Bean
    public CacheOpsService cacheOpsService(){
        return new CacheOpsServiceImpl();
    }
}
